From: Glenn Morris Date: Thu, 18 Jun 2009 06:54:47 +0000 (+0000) Subject: (dir-locals-set-directory-class): Make mtime argument X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~344 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6fb09679e2dc809510d5930ebf29fda897217441;p=emacs.git (dir-locals-set-directory-class): Make mtime argument optional, since it is always unneeded in the non-file case. (Bug#3577) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0c66b1e189..4feefb4fe42 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-06-18 Glenn Morris + + * files.el (dir-locals-set-directory-class): Make mtime argument + optional, since it is always unneeded in the non-file case. (Bug#3577) + 2009-06-18 Kenichi Handa * language/korean.el ("Korean"): Fix `documentation' property of diff --git a/lisp/files.el b/lisp/files.el index 91e046bc4af..ff6b6927696 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3241,7 +3241,7 @@ Return the new variables list." (setq variables (dir-locals-collect-mode-variables (cdr entry) variables)))))))) -(defun dir-locals-set-directory-class (directory class mtime) +(defun dir-locals-set-directory-class (directory class &optional mtime) "Declare that the DIRECTORY root is an instance of CLASS. DIRECTORY is the name of a directory, a string. CLASS is the name of a project class, a symbol.